package com.yk.main;

import com.yk.impl.Test;
import com.yk.server.RPCClass;
import com.yk.server.RPCServer;

/**
 * Created by dingkl on 2017/7/28.
 */
public class ServerSmple {
    public static void main(String[] args) {
        RPCClass rpcClass = RPCClass.getInstace();
        rpcClass.add("com.yk.impl.ITest", Test.class);
        RPCServer rpcServer = new RPCServer();
        rpcServer.bind(1999);
    }
}
